package asruby.yarv
{
import asruby.Ruby;
	
public class InstructionSequence
{
	public var magic:String;
    public var major:int;
    public var minor:int;
    public var format_type:int;
    public var misc:Object;
    public var name:String;
    public var filename:String;
    public var line:Array;
    public var type:String;

    public var locals:Array;

    public var args_argc:int;
    public var args_arg_opts:int;
    public var args_opt_labels:Array;
    public var args_rest:int;
    public var args_block:int;

    public var exception:Array;

    public var body:Array;

    public function InstructionSequence(runtime:Ruby,  name:String,  file:String,  type:String) {
        magic = "YARVInstructionSimpledataFormat";
        major = 1;
        minor = 1;
        format_type = 1;
        misc = runtime.getNil();
        this.name = name;
        this.filename = file;
        this.line = new Object[0];
        this.type = type;
        this.locals = new String[0];
        this.args_argc = 0;
        this.args_arg_opts = 0;
        this.exception = new Object[0];
    }

}
}